package com.cjh.crm.service;

import com.cjh.crm.bean.Customer;
import com.cjh.crm.model.PageResult;
import com.cjh.crm.model.ReportsResult;

import java.util.List;

public interface ICustomerService {

    PageResult<Customer> findPageResult(Customer customer, int page, int limit);

    void save(Customer customer);

    Customer findCustomerById(int cusNo);
    boolean delCustomer(Integer cusNo);

    boolean costomerUpdate(Customer customer);

    List<ReportsResult> toCountCustomer();
}
